Generating Scalar Values

You can add measurements and other values to the classes of a multi-ROI with Dragonfly's Scalar Generator.

Right-click the multi-ROI to which you want to add scalar values and then choose Scalar Generator in the pop-up menu to open the Scalar Generator dialog, shown below.

Scalar Generator dialog

Scalar Generator dialog

The following categories and items are available in the Scalar Generator for multi-ROIs.

Measurements and other values for multi-ROIs
  Description

2D Measurements

Lets you compute measurements, such as the area, filled area, perimeter, solidity, and compactness, of the discrete objects, or connected components, within a 2D multi-ROI.

Note Refer to the topic 2D Measurements for descriptions of the available measurements.

Basic Measurements

Lets you compute measurements, such as volumes, surface areas, Phi and Theta angles, aspect ratios, or the centers of mass, of the discrete objects, or connected components, within a multi-ROI.

Note Refer to the topic Basic Measurements for descriptions of the available measurements.

Basic Measurements with Dataset

Lets you compute values, such as minimum, mean, maximum intensity values, weighted centers of mass, and entropy, corresponding to the selected image data and the labeled voxels of the selected multi-ROI.

Note Refer to the topic Basic Measurements with Dataset for descriptions of the available measurements.

Constant

Lets you add a constant value to each class within the selected multi-ROI. You can choose a measurement title and value for the constant, as shown below.

Cross-Indexing

Lets you cross-index the label number of the selected multi-ROI’s classes to the intersecting classes of another multi-ROI. As shown below, you can choose a measurement title and multi-ROI to cross-index.

As shown in the example below, the Cross-Indexing column shows the intersecting label index of the referenced multi-ROI. You should note that a value of 0 indicates that the label of the selected multi-ROI does not intersect with any labels of the referenced multi-ROI. In addition, in cases in which a label intersects with multiple labels, the first intersecting label will be reported.

Intersection with ROI or Shape

Lets you identify classes that intersect with a region of interest or a shape, such as a box, capsule, cylinder, or sphere. You can enter a title for the measurement and choose the intersecting object, as shown below.

Intersection (voxel count) with ROI or Shape

Lets you find compute the number of voxels in classes that intersect with a region of interest or a shape, such as a box, capsule, cylinder, or sphere. You can enter a title for the measurement and choose the intersecting object.

Random Classes

Adds random classes to the selected multi-ROI. You can enter a title for the values and choose the number of classes, as shown below.

Random Labels

Adds random labels to the selected multi-ROI. You can enter a title for the values.